Skip to main content

sc.midi

Library that allows you to play MIDI files (through converter)

Functions

createPlayer

sc.midi.createPlayer( data, speaker )

Creates a MIDI player

Arguments:

  • data [ table ] MIDI data generated from the conveter.
  • speaker [ Speaker ] The speaker to play it to

Returns: